package bite20220409;

class base{
    public void func(){
        System.out.println("abc");
    }
}

public class Alpha extends base{
    public void func(){
        System.out.println("123");
    }

    public static void main(String[] args) {
        base a = new Alpha();
        a.func();
    }
}
